package com.topvision.feign;

import io.swagger.annotations.Api;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "topvision-cloud-provider")
public interface ProductFeign {
    @GetMapping("/product/list")
    public ResponseEntity products();
}
